package com.css.fxfzfxqh.modules.buildings.definitiveEvaluation.economicLossDE.repository;

import com.css.fxfzfxqh.modules.buildings.definitiveEvaluation.economicLossDE.entity.VillageTownHosPeoEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface VillageTownHostPeoRepository extends JpaRepository<VillageTownHosPeoEntity,String> {
    public VillageTownHosPeoEntity findByProvinceIdAndCityIdAndPrefectureId(String provinceId,String cityId,String PrefectureId);

    public VillageTownHosPeoEntity findByProvinceIdAndCityId(String provinceId,String cityId);

    VillageTownHosPeoEntity findByProvinceAndCityAndPrefecture(String provinceName,String cityName,String prefectureName);

    VillageTownHosPeoEntity findByProvinceAndCity(String provinceName,String cityName);
}
